|
|
|
|
|
|
|
Learn to pack up your application |
|
|
|
|
|
|
|
|
Learn to deploy your application |
|
|
|
|
|
|
|
|
Learn about dependency files |
|
|
|
|
|
|
|
|
Sample Project File: Any Project |
|
|
|
|
|
|
|
|
You need a program to help you make a setup for your program because most applications built with Windows are too large to fit on one disk. In addition, a lot of DLLs and OCX files typically need to be distributed with your EXE file. Most of these DLLs and OCXs need to be registered, and this is something you dont want the user to do. As a result, you need the help of a wizard. |
|
|
|
|
|
|
|
|
The Package and Deployment Wizard (or P&D Wizard) supplied with Visual Basic 6 assists in the creation of distribution disks for your application. Creating setup programs for Windows applications is almost a full-time job in itself. The P&D Wizard can perform the following tasks for you: |
|
|
|
|
|
|
|
|
Create one or many compressed cabinet (CAB) files with all of the files you need to distribute CAB files. This will be described later in this chapter. |
|
|
|
|
|
|
|
|
Figure out how to fit the files on the distribution media type (floppy, CD-ROM, Network shared directory, or Web deployment). |
|
|
|
|
|
|
|
|
Create dependency files that tell other applications which files your component uses. |
|
|
|
|
|
|
|
|
Getting Ready to Distribute |
|
|
|
|
|
|
|
|
Prior to using the P&D Wizard, you should make sure your application is complete, functional, fully debugged, and tested. Then, and only then, are you ready to distribute your application to other users. You must also compile your application into an EXE file so that its ready to be distributed. |
|
|
|
|
|